//
//  PhotoManager.h
//
//
//  Created by ff on 2022/8/10.
//

#import <Foundation/Foundation.h>

#import "HXPhotoPicker.h"

NS_ASSUME_NONNULL_BEGIN


@class HXPhotoModel;
@interface PhotoManager : NSObject

+ (instancetype)sharedInstance;

- (void)takePhoto:(UIViewController*)viewController
         finished:(void(^)(HXPhotoModel *))completion;

- (void)takeIdPhoto:(UIViewController*)viewController
         finished:(void(^)(HXPhotoModel *))completion;

- (void)takeCamera:(UIViewController*)viewController
          finished:(void(^)(HXPhotoModel *))completion;

- (void)takeVideo:(UIViewController*)viewController
         finished:(void(^)(HXPhotoModel *))completion;

@end

NS_ASSUME_NONNULL_END
